<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {include file="../application/index/view/common/link.html" /}
</head>
<body>
<!--头部-->
{include file="../application/index/view/common/header.html" /}
<!--商城主体页-->
<div class="shop-main">
    <div class="layui-container">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md2">
                <div class="panel cate">
                    <ul>
                        <li class="title">
                            <h2><strong>应用市场</strong></h2>
                        </li>
                        {volist name="categoryList" id="v"}
                        <li class="{if $v.pid == 0 or $v.lev==1}cate-parent{/if}">
                            <a href="{:url('index/appshop/index',['category'=>$v.id])}">{$v.name}</a>
                        </li>
                        {/volist}
                    </ul>
                </div>
            </div>
            <div class="layui-col-md10">
                <div class="shop-right layui-row layui-col-space10">
                    <div class="layui-col-md12 right-cate">
                        <div class="panel">
                            <span >获取方式:</span>
                            <a href="{:url('index/appshop/index',['isfree'=>0])}" class="{if $isfree==0}sr-this{/if}">免费</a>
                            <a href="{:url('index/appshop/index',['isfree'=>1])}" class="{if $isfree==1}sr-this{/if}">积分兑换</a>
                        </div>
                    </div>
                    {volist name='appList' id='v'}
                    <div class="layui-col-md4">
                        <div class="panel shop-box">
                            <a href="{:url('index/appshop/content',['shop'=>$v.id])}" title="点击查看想详情">
                                {if $v.is_reco == 1}
                                <span class="top-rec">推荐</span>
                                {/if}
                                {if $v.is_top == 1}
                                <span class="top-rec">精选</span>
                                {/if}
                                <div class="photo">
                                    <img src="{:_get_image_preview_url($v.app_photo)}" alt="">
                                </div>
                                <div class="shop-item">
                                    <p class="title">{$v.app_name}</p>
                                    <p class="desc">{$v.app_seo_desc}</p>
                                    <p class="price">
                                        <del class="market-price">￥{$v.line_price}积分</del>
                                        <span class="discount-price">{$v.price}积分</span>
                                    </p>
                                </div>
                            </a>
                        </div>
                    </div>
                    {/volist}
                    {if $appList->lastPage()>1}
                    <div class="panel page layui-col-md12">
                        {$appList|raw}
                    </div>
                    {/if}
                </div>
            </div>

        </div>
    </div>
</div>
<!--底部-->
{include file="../application/index/view/common/righ_fixed.html" /}
<!--右侧固定导航区域-->
{include file="../application/index/view/common/footer.html" /}
</body>
</html>